package com.beifu.manager.service.role.impl;

import com.beifu.manager.dao.RoleModuleMapper;
import com.beifu.manager.dao.UserRoleRelationMapper;
import com.beifu.manager.model.RoleModule;
import com.beifu.manager.model.RoleModuleExample;
import com.beifu.manager.model.UserRoleRelation;
import com.beifu.manager.model.UserRoleRelationExample;
import com.beifu.manager.service.role.RoleModuleService;
import com.beifu.manager.service.role.UserRoleRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 再壮 on 2018/6/17.
 */
@Service
public class RoleModuleServiceImpl implements RoleModuleService {

    @Autowired
    private RoleModuleMapper roleModuleMapper;

    @Override
    public List<RoleModule> getRoleModuleList(RoleModuleExample example) {
        return roleModuleMapper.selectByExample(example);
    }
}
